//导航
$(function(){

	  $(document).off('click.bs.dropdown.data-api');

	  dropdownOpen();

	  });


	function dropdownOpen() {

	  var $dropdownLi = $('li.dropdown');

	  $dropdownLi.mouseover(function() {

	    $(this).addClass('open');

	  }).mouseout(function() {

	    $(this).removeClass('open');

	  });

	  }
	//sticky header on scroll
	$(document).ready(function () {
	    $(window).load(function () {
	        $(".sticky").sticky({topSpacing: 0});
	    });
	});
//视频弹出框
	/*$(function(){
	    var vurl = 'assets/global/img/xesp.mp4',
	        flag = 0;
	    if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)){
	         $('#videobox').append("<img class='mskeClaose' src='assets/global/img/mke_close.png' width='27' height='27'><embed src='assets/global/img/xesp.mp4' width='800px' height='500'  allowfullscreen='true'  wmode='transparent'></embed>")
	         $('#videobox').find('.close').css('top',-36);
	   }
	   else{
	      $('#videobox').append("<img class='mskeClaose' src='assets/global/img/mke_close.png' width='27' height='27'><video src='assets/global/img/xesp.mp4' width='800px' height='500' controls='controls' id='myvideo'></video>")
	   }
	   $('#videobox').children('video').attr('src',vurl);
	   $('#videobox').children('embed').attr('src',vurl);
	   $('#video-btn').click(function(){
	     $('#videobox').show();
	     document.getElementById('myvideo').play();
	   })
	   $('#videobox').find('.mskeClaose').click(function(event){
	        event.stopPropagation();
	        $('#videobox').hide();
	        document.getElementById('myvideo').pause();
	   })
	   document.getElementById('myvideo').onclick = function(){
	        if(flag==0){
	            this.pause();
	            flag = 1;
	        }else{
	            this.play();
	            flag = 0
	        }
	   }
	})
	$(function(){
	$('#myvideo').bind('contextmenu',function() { return false; }); 
	});*/